package com.proxy.staticproxy;

public class SimpleProxy implements DoSome {

	private DoSome dosome;

	public SimpleProxy(DoSome dosome) {
		this.dosome = dosome;
	}

	@Override
	public void doSomething() {
		System.out.println("SimpleProxy doSomething!");
		dosome.doSomething();
	}

	@Override
	public void somethingElse(String s) {
		System.out.println("SimpleProxy somethingElse!");
		dosome.somethingElse(s);
	}

}
